.search {
  width: 100%;
  background-color: rosybrown;
  padding: 10rpx;
  box-sizing: border-box;
}
.search .search-content {
  display: flex;
  position: relative;
}
.search .search-content .search-input {
  flex: 6;
  display: flex;
  height: 60rpx;
  background-color: seashell;
  box-sizing: border-box;
  align-items: center;
}
.search .search-content .search-input icon {
  margin-left: 20rpx;
  margin-right: 10rpx;
}
.search .search-content .search-input input {
  flex: 1;
  font-size: 12px;
  height: 100%;
}
.search .search-content .cancel {
  flex: 1;
  height: 60rpx;
  line-height: 60rpx;
  margin-left: 10rpx;
  font-size: 26rpx;
}
.search .search-content .search-modal {
  position: absolute;
  width: 100%;
  top: 70rpx;
  left: 0;
  background: #a7cab6;
  overflow-y: auto;
  height: 500px;
  padding: 20rpx;
}
.search .search-content .search-modal .search-item {
  height: 60rpx;
  line-height: 60rpx;
  border-bottom: 1rpx solid #f10606;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 26rpx;
}
.history {
  display: flex;
  padding: 20rpx;
  justify-content: space-between;
}
.history h4 {
  font-size: 32rpx;
}
.history-list {
  display: flex;
  flex-wrap: wrap;
}
.history-list .history-item {
  margin: 10rpx 10rpx;
  padding: 20rpx;
  border-radius: 5px;
  background-color: salmon;
  margin: 4px;
  font-size: 16px;
}
